using System;
using System.Web.Services;

namespace ChilliCoder.WsComplex {
	public class Data {
		private string nameField;
		private string nameFieldField;

		public string Name {
			get { return nameField; }
			set { nameField = value; }
		}

		public string NameField {
			get { return nameFieldField; }
			set { nameFieldField = value; }
		}
	}

	[WebService]
	public class Service: WebService {
		[WebMethod]
		public void Operation (Data datum) {
			Console.WriteLine("Name: {0}", datum.Name);
			Console.WriteLine("NameField: {0}", datum.NameField);
		}
	}
}
